<template></template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "wx",
});
</script>

<script setup lang="ts">
import { useRoute } from "vue-router";
import useLonginStore from "@/store/modules/user.ts";
const { set_Token, set_UserInfo } = useLonginStore();

const route = useRoute();

set_UserInfo(String(route.query.name));
set_Token(String(route.query.token));

document.getElementsByTagName("html")[0].style.display = "none";
</script>

<style scoped lang="scss"></style>
